#ifndef MCLIENT_H
#define MCLIENT_H

#include "MCharacter.h"

#include <QTcpSocket>
#include <QString>
#include <QList>

class MClient
{
    private:
        QTcpSocket *socket;
        QString username;
        QString password;
        QList<MCharacter *> characters;
    public:
        MClient(QTcpSocket* _socket = NULL, QString _username = "", QString _password = "");
        ~MClient();

        // Getters
        QTcpSocket* get_socket();
        QString get_username();
        QString get_password();
        QList<MCharacter *> get_characters();

        // Setters
        void set_socket(QTcpSocket* socket);
        void set_username(QString username);
        void set_password(QString password);
        void set_characters(QList<MCharacter *> characters);
};

#endif // MCLIENT_H
